const path = require('path');
module.exports = {
  entry: './src', //打包文件入口
  output: {               //打包文件出口
      path: path.resolve(__dirname, 'dist'),
      filename: 'main.js'
  }
}
    
    